<?php

class Adept_Model_SelectItem 
{
    
    protected $disabled = false;
    protected $description = null;
    protected $title = null;
    protected $value = null;
    
    public function __construct($value, $title = null, $description = null, $disabled = false) 
    {
    	$this->title = ($title != null) ? $title : $value;
    	$this->value = $value;
    	$this->description = $description;
    	$this->disabled = $disabled;
    }	

    public function getDisabled() 
    {
        return $this->disabled;
    }
    
    public function setDisabled($disabled) 
    {
        $this->disabled = $disabled;
    }
    
    public function getDescription() 
    {
        return $this->description;
    }
    
    public function setDescription($description) 
    {
        $this->description = $description;
    }
    
    public function getTitle() 
    {
        return $this->title;
    }
    
    public function setTitle($title) 
    {
        $this->title = $title;
    }
    
    public function getValue() 
    {
        return $this->value;
    }
    
    public function setValue($value) 
    {
        $this->value = $value;
    }
    
}